import { reactive } from 'vue';
export const formConfig = (roles) => {
    return [
        {
            "els": [
                {
                    "label": "名称",
                    "el": "input",
                    "prop": "name",
                    "place": "名称",
                    "required": false,
                    "disabled": true
                } 
            ]
        },
        {
            "els": [
                {
                    "label": "用户名",
                    "el": "input",
                    "prop": "username",
                    "place": "用户名",
                    "required": false,
                    "disabled": true
                } 
            ]
        },
        {
            "els": [
                {
                    "label": "原密码",
                    "el": "input-password",
                    "prop": "oldPassWord",
                    "place": "新密码",
                    "min": 6
                } 
            ]
        },
        {
            "els": [
                {
                    "label": "新密码",
                    "el": "input-password",
                    "prop": "newPassWord",
                    "place": "新密码",
                    "min": 6
                } 
            ]
        },
        {
            "els": [
                {
                    "label": "确认密码",
                    "el": "input-password",
                    "prop": "newPaw",
                    "place": "确认密码",
                    "min": 6
                } 
            ]
        }
    ];
}